test/gtkgears.c: Fix on C89 Compilers
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 6 Mar 2015 03:01:30 +0000 (11:01 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 6 Mar 2015 15:47:35 +0000 (23:47 +0800)
commitb3725a455ddd6ecca2e6cac55ac0ebd387f454e5
tree3669f34d8076aa905af62c3f74f9b03ba4fff8ca
parent9c545ac2e89943eae98f3d0f782b25cb67cd2eb8
test/gtkgears.c: Fix on C89 Compilers

Make sure that variables are declared at the top of the block.

Break up one of the sincos() calls into individual calls to sin() and cos()
so that we do not have to complicate the initialization of the following
GLfloat array.
tests/gtkgears.c